projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5764c09
)
combobox: remove unneeded check
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 22 Dec 2015 01:47:44 +0000
(17:47 -0800)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 22 Dec 2015 17:29:43 +0000
(09:29 -0800)
The combobox always has a window.
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index fd751a2afc1b0c1ece7f80059c3f7f935b9d79e8..487e9b751119d6755b18bef10904c412bac8a579 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-1930,13
+1930,6
@@
gtk_combo_box_list_position (GtkComboBox *combo_box,
*x = *y = 0;
gtk_widget_get_allocation (widget, &allocation);
-
- if (!gtk_widget_get_has_window (widget))
- {
- *x += allocation.x;
- *y += allocation.y;
- }
-
window = gtk_widget_get_window (widget);
gdk_window_get_root_coords (gtk_widget_get_window (widget),